#ifndef _RMRMAIN
#define _RMRMAIN

#include "RMRDrive.h"
#include "RMRAuto.h"
#include "RMRManipulator.h"
#include "RMRIO.h"


//#include "Encoder.h"

class RMRRobot : public SimpleRobot
{
	

public:
	RMRRobot(void);
	void Autonomous(void);
	void OperatorControl(void);
	
	bool RobotIsAutonomous();
	static const float WATCHDOG_EXPIRATION = .1; // .1 seconds

	
private:
	bool file_writen;
	RMRDrive		rmrDrive;
	RMRAuto  		rmrAuto;
	RMRManipulator	rmrManipulator;
	
	
//	// fire button is a rapid fire button
//	RapidFireButton fire_button;
	
	// 0 = No Diagnostic
	// 1 = Encoder Diagnostic
	// 2 = Motor Diagnostic
	// 3 = Joystick Diagnostic
	// 4 = Accel Log
	static const INT32 DIAGNOSTIC = 0;
	
	// 0 = No Drive
	// 1 = Arcade Tank Drive
	// 2 = Tank Drive
	// 3 = Car Drive
	static const INT32 DRIVE_MODE = 3;
	
	// 0 = Manipulator Disabled
	// 1 = Manipulator Enabled
	static const INT32 MANIPULATOR_ENABLED = 1;
	
};


#endif
